package innerclassAndLambda;

/**
 * @author feng
 * @Date 2021/7/19 15:12
 */
public class LambdaTest03 {
    public static void main(String[] args) {
        // 匿名内部类
        marry marry = (a, b)-> System.out.println("结婚=" + a + "," + b);
        marry.happyMarry(1,2);

    }


}

interface marry {
    void happyMarry(int a, int b);
}